package com.chq.demo.model.admin.user;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户管理实体类
 *
 * @author chenghongqiang
 * @date 2020-10-23 10:26
 * @since 1.0
 */
@ApiModel("用户管理实体类")
@Data
@TableName("t_sys_user")
public class UserModel implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "昵称")
    private String nickName;
    @ApiModelProperty(value = "角色")
    private String role;

}
